package com.crm.dao.mapper.trainingManager;

import com.crm.model.entity.trainingManager.TrainingOrderProduct;
import com.crm.model.entity.trainingManager.TrainingOrderProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrainingOrderProductMapper {
    long countByExample(TrainingOrderProductExample example);

    int deleteByExample(TrainingOrderProductExample example);

    int deleteByPrimaryKey(String productId);

    int insert(TrainingOrderProduct record);

    int insertSelective(TrainingOrderProduct record);

    List<TrainingOrderProduct> selectByExample(TrainingOrderProductExample example);

    TrainingOrderProduct selectByPrimaryKey(String productId);

    int updateByExampleSelective(@Param("record") TrainingOrderProduct record, @Param("example") TrainingOrderProductExample example);

    int updateByExample(@Param("record") TrainingOrderProduct record, @Param("example") TrainingOrderProductExample example);

    int updateByPrimaryKeySelective(TrainingOrderProduct record);

    int updateByPrimaryKey(TrainingOrderProduct record);
}